Skip to content

Correct the documentation of errors, device defaults, token storage, and sessions - #1500

Merged
frenck merged 1 commit into
mainfrom
frenck/docs-review
Oct 10, 2026
Merged

frenck merged 1 commit into
mainfrom
frenck/docs-review

Conversation

@frenck

@frenck frenck commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Proposed Changes

(Describe the changes and rationale behind them)

Found in a review.

  • Only errors of requests are a TailscaleError; a response the client cannot make sense of raises the error of parsing it.
  • The lists of a device are empty, and is_external is False, when the API leaves them out; not None.
  • The expiry a token storage keeps must be timezone-aware.
  • Without an ETag, setting the policy file is not protected against changes made in the meantime.
  • A session passed to the client is not closed by it.

Related Issues

(GitHub link to related issues or pull requests)

@frenck frenck added the documentation Solely about the documentation of the project. label Oct 10, 2026
@frenck
frenck merged commit c678bf8 into main Oct 10, 2026
33 checks passed
@frenck
frenck deleted the frenck/docs-review branch October 10, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Solely about the documentation of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant